#ifndef TASKALIVE_H_
#define TASKALIVE_H_

#include "ITask.h"
#include <SingletonHolder.h>
#include "../Server/SRVConnection.h"

namespace Tasks{

class TaskAlive : public ITask<Data>
{
public:
	TaskAlive(void){}

	virtual void operator()()
	{
		myData.theConnection->close();
		SingletonHolder::Instance().WriteMsg("Alive request received...yes! I am alive!");
	}
	
};

}//end of Tasks namespace

#endif//TASKALIVE_H_